package cn.seaboot.flake.mapping;

import java.io.Serializable;
import java.util.List;

/**
 * 参数集
 *
 * @author Mr.css
 * @version 2022-01-28 10:52
 */
public class ParameterMap implements Serializable {
    private static final long serialVersionUID = 7228517767140935320L;
    /**
     * 唯一ID
     */
    private String id;
    /**
     * 全类名
     */
    private Class<?> type;
    /**
     * 字段明细
     */
    private List<ParameterMapping> parameterMappings;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Class<?> getType() {
        return type;
    }

    public void setType(Class<?> type) {
        this.type = type;
    }

    public List<ParameterMapping> getParameterMappings() {
        return parameterMappings;
    }

    public void setParameterMappings(List<ParameterMapping> parameterMappings) {
        this.parameterMappings = parameterMappings;
    }

    @Override
    public String toString() {
        return "ParameterMap{" +
                "id='" + id + '\'' +
                ", type=" + type +
                ", parameterMappings=" + parameterMappings +
                '}';
    }
}
